package restless.core.gameObjs {
	
	
	public class RLEPowerup extends RLEGridObj {
		
		protected var _lifeTime:int;
		protected var vPowerupIDs:Vector.<String>;
		
		public function RLEPowerup(id:String) {
			setRE();
			sID = id;
			
			vPowerupIDs = powerM.getPowerupIDList();
		}
		
		public function get lifeTime():int {
			return _lifeTime;
		}
		
		public function set lifeTime(num:int):void {
			addTickTimer(sID, _lifeTime);
			_lifeTime = num;
		}
		
		override public function dispose():void {
			vPowerupIDs = null;
			super.dispose();
		}
		
	}

}
